class IndexController < ApplicationController
    include IndexHelper
    
    def index
        flash[:error] = nil
        
        a = unless params[:tagserch].nil?
               params[:tagserch][:tag_name]
            end
        
        @urls = find_url_by_tags (a)
        @tags = Tag.find(:all)
    end
end
